package cn.edu.sgu.www.mhxysy.entity.task;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 任务
 * @author 沐雨橙风ιε
 * @version 1.0
 */
@Data
@ApiModel
@TableName("task")
public class Task implements Serializable {
    private static final long serialVersionUID = 18L;

    @TableId(value = "id", type = IdType.INPUT)
    @ApiModelProperty(value = "ID")
    private String id;

    /**
     * NPC ID
     */
    @TableField("npc_id")
    @ApiModelProperty(value = "NPC ID")
    private Integer npcId;

    /**
     * 地图ID
     */
    @TableField("map_id")
    @ApiModelProperty(value = "地图ID")
    private Integer mapId;

    /**
     * 道具类型ID
     */
    @TableField("prop_id")
    @ApiModelProperty(value = "道具类型ID")
    private Integer propId;

    /**
     * 道具品质
     */
    @ApiModelProperty(value = "道具品质")
    private Integer quality;

    /**
     * 任务类型ID
     */
    @TableField("category_id")
    @ApiModelProperty(value = "任务类型ID")
    private Integer categoryId;
}